# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ListQueryWidget.ui'
#
# Created: Fri Dec 23 17:36:02 2011
#      by: PyQt4 UI code generator 4.8.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_ListQueryWidget(object):
    def setupUi(self, ListQueryWidget):
        ListQueryWidget.setObjectName(_fromUtf8("ListQueryWidget"))
        ListQueryWidget.resize(692, 158)
        ListQueryWidget.setWindowTitle(QtGui.QApplication.translate("ListQueryWidget", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout = QtGui.QHBoxLayout(ListQueryWidget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.titleLabel = QtGui.QLabel(ListQueryWidget)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(10)
        self.titleLabel.setFont(font)
        self.titleLabel.setText(QtGui.QApplication.translate("ListQueryWidget", "List query:", None, QtGui.QApplication.UnicodeUTF8))
        self.titleLabel.setObjectName(_fromUtf8("titleLabel"))
        self.horizontalLayout.addWidget(self.titleLabel)
        self.valueBox = QtGui.QComboBox(ListQueryWidget)
        self.valueBox.setMinimumSize(QtCore.QSize(300, 0))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(10)
        self.valueBox.setFont(font)
        self.valueBox.setEditable(True)
        self.valueBox.setObjectName(_fromUtf8("valueBox"))
        self.horizontalLayout.addWidget(self.valueBox)
        self.browseBtn = QtGui.QToolButton(ListQueryWidget)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(10)
        self.browseBtn.setFont(font)
        self.browseBtn.setText(QtGui.QApplication.translate("ListQueryWidget", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.browseBtn.setObjectName(_fromUtf8("browseBtn"))
        self.horizontalLayout.addWidget(self.browseBtn)
        spacerItem = QtGui.QSpacerItem(242, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.removeBtn = QtGui.QToolButton(ListQueryWidget)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Verdana"))
        font.setPointSize(8)
        self.removeBtn.setFont(font)
        self.removeBtn.setText(QtGui.QApplication.translate("ListQueryWidget", "X", None, QtGui.QApplication.UnicodeUTF8))
        self.removeBtn.setAutoRaise(True)
        self.removeBtn.setObjectName(_fromUtf8("removeBtn"))
        self.horizontalLayout.addWidget(self.removeBtn)

        self.retranslateUi(ListQueryWidget)
        QtCore.QObject.connect(self.browseBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), ListQueryWidget.onBrowse)
        QtCore.QObject.connect(self.valueBox, QtCore.SIGNAL(_fromUtf8("editTextChanged(QString)")), ListQueryWidget.onValueChanged)
        QtCore.QMetaObject.connectSlotsByName(ListQueryWidget)

    def retranslateUi(self, ListQueryWidget):
        pass


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    ListQueryWidget = QtGui.QWidget()
    ui = Ui_ListQueryWidget()
    ui.setupUi(ListQueryWidget)
    ListQueryWidget.show()
    sys.exit(app.exec_())

